package demo01;

import java.util.ArrayList;

public class Menber extends User{
	public Menber(String name, int money) {
		super(name,money);
	}
	public Menber() {
	}
	
	public void receive(ArrayList<Integer> list){
		int delta=list.remove(0);
		this.setMoney(this.money+delta);
	}
}
